# SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# isort: skip_file

from warp._src.math import norm_huber as norm_huber
from warp._src.math import norm_l1 as norm_l1
from warp._src.math import norm_l2 as norm_l2
from warp._src.math import norm_pseudo_huber as norm_pseudo_huber
from warp._src.math import smooth_normalize as smooth_normalize
from warp._src.math import transform_compose as transform_compose
from warp._src.math import transform_decompose as transform_decompose
from warp._src.math import transform_from_matrix as transform_from_matrix
from warp._src.math import transform_to_matrix as transform_to_matrix


# TODO: Remove after cleaning up the public API.

from warp._src import math as _math


def __getattr__(name):
    from warp._src.utils import get_deprecated_api  # noqa: PLC0415

    return get_deprecated_api(_math, "wp", name)
